package pro.cherish.knowledgeumldesignpattern.designPattern.com.cherish.factory.abstractFactory;

public interface Engine {
    void run();
    void start();
}
class LuxyrtEngine implements Engine{

    @Override
    public void run() {
        System.out.println("转得快");
    }

    @Override
    public void start() {
        System.out.println("启动快");
    }
}
class LowEnginer implements Engine{

    @Override
    public void run() {
        System.out.println("转得慢");
    }

    @Override
    public void start() {
        System.out.println("启动慢");
    }
}